import React from 'react'
import {useParams,useMatch} from 'react-router-dom'

export default function Detail() {
  const {id,title,content} = useParams()
  return (
    <div>
      <h4>id:{id}</h4>
      <h4>title:{title}</h4>
      <h4>content:{content}</h4>
    </div>
  )
}
